package com.hhit.zhgd.dao

import com.alibaba.fastjson.JSONObject
import com.baomidou.mybatisplus.core.mapper.BaseMapper
import com.baomidou.mybatisplus.extension.plugins.pagination.Page
import com.hhit.zhgd.domain.entity.ZhgdAlert
import org.apache.ibatis.annotations.Mapper
import org.apache.ibatis.annotations.Param

@Mapper
interface ZhgdAlertMapper:BaseMapper<ZhgdAlert> {
    fun getPageAlert(page:Page<ZhgdAlert>, @Param("params")map:HashMap<String,Any?>):Page<ZhgdAlert>

    fun countByDescc(@Param("startTime") startTime: String?, @Param("endTime") endTime: String?): List<Map<String, Any?>?>?

    fun countByTime(@Param("params") where: java.util.HashMap<*, *>?): List<JSONObject?>?

    fun getAlert(): List<ZhgdAlert?>?
}